|
|
|
|
<Gantt chart>.AddHoliday (Function) In french: <Diagramme de Gantt>.AjouteCongé Defines a new holiday period on a row in a Gantt Chart column of a Table or TreeView Table control. // Holidays for row 4 - February 4, 2022 COL_Gantt.AddHoliday(4, "20220204", "20220204") Syntax
<Gantt column>.GanttAddHoliday(<Row> , <Start date> , <End date>)
<Gantt column>: Control name Name of the Gantt Chart column (in a Table or TreeView Table control) to be used. <Row>: Integer Number of the row where the holidays will be declared. Remark: The row associated with a task is returned by the Row property of the GanttTask variable. <Start date>: Character string or Date or DateTime variable Start date of holiday period. This date is considered as being included in the holidays. <End date>: Character string or Date or DateTime variable End date of holiday period. This date is considered as being included in the holidays. Remarks - The new holiday period is considered as being a non-working period for the row.
- The duration of the tasks is adjusted according to the specified holiday period.
- The non-working days are Saturday and Sunday by default.
- The bank holidays defined by BankHolidayAdd are considered as being non-working days.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|